<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <title>编辑借阅管理员信息</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/jquery-3.2.1.js"></script>
    <script src="js/bootstrap.min.js" ></script>
    <script>
        $(function () {
            $('#header').load('admin_header.html');
        })
    </script>
</head>
<body background="img/book2.jpg" style=" background-repeat:no-repeat ;
background-size:100% 100%;
background-attachment: fixed;">
<div id="header" style="padding-bottom: 80px"></div>
<div class="col-xs-6 col-md-offset-3" style="position: relative;">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">编辑借阅管理员信息</h3>
        </div>
        <div class="panel-body">
            <form action="admin_borrow_edit_do.html?adminId=${borrowAdmin.adminId}" method="post" id="adminBorrowedit" >
                <div class="input-group">
                    <span  class="input-group-addon">账号</span>
                    <input type="text" class="form-control" name="adminId" id="adminId"  value="${borrowAdmin.adminId}" readonly="true">
                </div>
                <div class="input-group">
                    <span  class="input-group-addon">密码</span>
                    <input type="text" class="form-control" name="password" id="password"  value="${borrowAdmin.password}" >
                </div>
                <div class="input-group">
                    <span  class="input-group-addon">用户名</span>
                    <input type="text" class="form-control" name="username" id="username"  value="${borrowAdmin.username}" >
                </div>
                <input type="submit" value="确定" class="btn btn-success btn-sm" class="text-left">
             <%--   <a href="allBorrowAdmin.html">
                    <button type="button" class="btn btn-success btn-sm">取消</button>
                </a>--%>
                <input type="button" class="btn btn-success btn-sm"  value="取消" onclick="javascript:history.go(-1);"/>
                <script>
                    $("#adminBorrowedit").submit(function () {
                        if($("#password").val()==''||$("#username").val()==''){
                            alert("请填入完整读者信息！");
                            return false;
                        }
                    })
                </script>
            </form>
        </div>
    </div>

</div>

</body>
</html>

<%--编辑  借阅管理员吗信息--%>